﻿<Window x:Class="Hotel.WPF.ui.CaracteristikHotel.W_RefCaracteristiqueHotel"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
        Title="Caractéristiques des hotels" Height="584" Width="919" WindowState="Maximized" WindowStartupLocation="CenterScreen" Background="AliceBlue" Loaded="Window_Loaded" WindowStyle="None" ResizeMode="NoResize">
    <extToolkit:BusyIndicator IsBusy="False" BusyContent="Chargement de la page en cours..." x:Name="busyTool" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,0,0,0" >
        <Grid Name="gridPrincipal" Width="705">
            <Label Background="#FFD3DCF2" Content="CARACTERISTIQUES DES HOTELS" FontWeight="Bold" Height="28" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Margin="10,10,50,0" Name="label1" VerticalAlignment="Top" VerticalContentAlignment="Center" />
            <Rectangle Fill="#FFB1F2B1" Height="188" HorizontalAlignment="Left" Margin="10,197,0,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="409" />
            <DataGrid AutoGenerateColumns="False" Height="170" HorizontalAlignment="Left" IsReadOnly="True" ItemsSource="{Binding}" Margin="16,207,0,0" Name="dg_refCaractHotel" VerticalAlignment="Top" Width="393">
                <DataGrid.Columns>
                    <DataGridTextColumn Binding="{Binding Code_Caracteristique}" Header="Code" IsReadOnly="True" Width="100" />
                    <DataGridTextColumn Binding="{Binding Description_Caracterisque}" Header="Nom" IsReadOnly="True" Width="200" />
                </DataGrid.Columns>
            </DataGrid>
            <GroupBox Header="Ajout Caractérisque Hotel" Height="110" HorizontalAlignment="Left" Margin="10,54,0,0" Name="groupBox2" VerticalAlignment="Top" Width="565">
                <Grid>
                    <Button Click="bt_addRefCarctHotel_Click" Content="Ajouter" Height="23" HorizontalAlignment="Left" Margin="401,39,0,0" Name="bt_addRefCarctHotel" VerticalAlignment="Top" Width="126" />
                    <Label Content="Code" Height="28" HorizontalAlignment="Left" Margin="16,6,0,0" Name="label12" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="102,11,0,0" Name="tb_codeCaracHotel" VerticalAlignment="Top" Width="69" />
                    <Label Content="Description" Height="28" HorizontalAlignment="Left" Margin="17,40,0,0" Name="label14" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="102,40,0,0" Name="tb_descCaractHotel" VerticalAlignment="Top" Width="249" />
                </Grid>
            </GroupBox>
            <Label Content="Liste des caractéristiques d'hotels" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="13,172,0,0" Name="label22" VerticalAlignment="Top" />
            <Image Height="28" HorizontalAlignment="Right" Margin="0,8,8,0" Name="image1" Source="/Hotel.WPF;component/img/stop.png" Stretch="Fill" VerticalAlignment="Top" Width="29" MouseUp="image1_MouseUp" />
        </Grid>
    </extToolkit:BusyIndicator>
</Window>
